package liuch.rmi.springRMI;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ClientMain {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("conf/spring/rmi/clientSpring.xml");

        IServer server = (IServer) applicationContext.getBean("myClient");
        server.add(1);
    }
}
